from django import forms


class LoginForm(forms.Form):
    username = forms.CharField(label="用户名", max_length=128)
    password = forms.CharField(label="密码", max_length=256, widget=forms.PasswordInput)


# class LoginForm(AllowForm):
#     username = forms.CharField(label="用户名", max_length=128)
#     password = forms.CharField(label="密码", max_length=256, widget=forms.PasswordInput)
#     client_secret = forms.CharField(widget=forms.HiddenInput())
#     grant_type = forms.CharField(widget=forms.HiddenInput())
